<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>'FavorList.jsp'</title>
</head>

<body>
	<div>
    <c:if test="${listsize==0 }">
    <div>   
            <span> 收藏栏为空</span>
            <input type="hidden" id="readlist" value="empty"/>
    </div>
    </c:if>
		<c:if test="${listsize!=0 }">
			<c:forEach var="novel" items="${readerlist}" varStatus="status">
		<td><a href="${pageContext.request.contextPath }/ShowNovelInfo?novelId=${novel.id} ">
		《${novel.name}》
		</a></td><c:if test="${status.count%2==0 }"><br/></c:if>
		</c:forEach>
		</c:if>
	</div>
</body>
</html>
